package com.github.satant.job.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 积分流水表
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:32:18
 */
@Table(name = "st_point_history")
@Data
public class StPointHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    //
    @Id
    private Integer id;

    //1:评论，2:转发，3：点赞，4：阅读，5：撰写朋友圈，6：发布兼职消息，7：充值
    @Column(name = "type")
    private Integer type;

    //积分数量
    @Column(name = "count")
    private Integer count;

    //用户ID
    @Column(name = "user_id")
    private Integer userId;

    //备
    @Column(name = "remark")
    private String remark;

    //积分来源
    @Column(name = "point")
    private Integer point;

}
